package one.stand.request;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 优惠券领卷记录
 * @author luoyang
 * @date 2020/4/27 11:01
 */
@Data
public class CoupponRecordsRequest extends BaseRequest {

    @ApiModelProperty(value = "优惠券状态1待使用，2已使用 3 已过期")
    private Integer couponState;
    /**
     * 优惠券名称
     */
    @ApiModelProperty(value = "优惠券名称")
    private String name;

    @ApiModelProperty(value = "公司ID",required = true)
    @NotNull(message = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "优惠券id",required = true)
    @NotNull(message = "优惠券不能为空")
    private Long couponId;
}
